from django.conf.urls import patterns, include, url
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from django.contrib import admin
admin.autodiscover()
#from admin import mysitebbs

urlpatterns = patterns('',
    # Examples:
    url(r'^$', 'mysite.views.home'),
    # url(r'^mysite/', include('mysite.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    #url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    (r'^admin/', include(admin.site.urls)),
    (r'^bbs/', include('mysitebbs.urls')),
	#(r'^photologue/', include('photologue.urls')),
)

urlpatterns += patterns('mysite.views',
	(r'^hello/$', 'hello'),
	(r'^test/$', 'test'),
	(r'^accounts/login/$', 'login'),
	(r'^accounts/logout/$', 'logout'),
	(r'^accounts/register/$', 'register'),
)

urlpatterns += staticfiles_urlpatterns()

